<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <script>

        console.log((1/3) === (1-2/3));
        //保证代码的可读性，尽量使用[]
        var arr = [1,2,3,4,5,null,true,'hello'];
        new Array(1,23,43,true,'world');
        var 名字 = "小明";

        //对象是大括号，数组是中括号
        //Java: Person person = new Person();
        var person = {
            name: "xiaoming",
            age: 3,
            tags: ['js', 'java', 'web', '...']  //每个属性之间使用逗号隔开，最后一个不需要添加
        }

    </script>

</head>
<body>

</body>
</html>